serve (someone) a lesson

Translations
преподнести (кому-либо) урок
The defeat served them a lesson in humility.
Поражение преподнесло им урок смирения.
Definitions
To teach someone a lesson, often by allowing them to experience the negative consequences of their actions so that they learn not to repeat the same mistake.
Words
serve

verb
преподать
someone

pronoun
кому то
a

article or possessive pronoun
один
lesson

noun
урок